﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Sharp.Platform;
using Sharp.Platform.List;
using Sharp.Platform.Other;

namespace Sharp.WebBooter.Areas.CMS.Models
{
    [Title("栏目管理")]
    [DataHandler(ModuleOP.Details, "浏览", 0)]
    [DataHandler(ModuleOP.Create, "新增", 1)]
    [DataHandler(ModuleOP.Edit, "修改", 2)]
    [DataHandler(ModuleOP.Delete, "删除", 3)]
    [DataHandler(ModuleOP.Refresh, "刷新", 4)]
    public partial class ColumnIndexViewModel : SharpList
    {

        public ColumnIndexViewModel()
        {
            this.Feature = ListFeature.MultiSelect | ListFeature.Paging | ListFeature.RowNumber;

        }

        /// <summary>
        /// 名称
        /// </summary>
        [Column(Width = 160, Text = "名称", SearchFor = true)]
        public string Name { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [Column(Text = "备注")]
        public string Remark { get; set; }
    }
}